import MockAdapter from 'axios-mock-adapter'
import { axiosInstance } from '@renderer/api/http'
import { mockScan } from '@renderer/mocks/scan'
import { mockService } from '@renderer/mocks/service'

const mock = new MockAdapter(axiosInstance)


const initMock = () => {
  mockScan()
  mockService()
}

export {
  initMock,
  mock
}
